package com.cloudlibrary.service.impl;

import com.cloudlibrary.domain.User;
import com.cloudlibrary.mapper.UserMapper;
import com.cloudlibrary.service.UserService;
import org.apache.ibatis.annotations.Select;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class UserServiceImpl implements UserService {
    @Autowired
    private UserMapper userMapper;
    @Override
    public User login(User user){
        return userMapper.login(user);
    }

}
